﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bots.DungeonBuddy.Attributes;
using Styx;
using Styx.Logic.Pathing;
using Styx.WoWInternals.WoWObjects;
using TreeSharp;
using Bots.DungeonBuddy.Helpers;

namespace Bots.DungeonBuddy.Dungeon_Scripts.Classic
{
    public class ScarletMonasteryArmory : Dungeon
    {
        #region Overrides of Dungeon
        public override uint DungeonId
        {
            get { return 163; }
        }

        public override WoWPoint Entrance { get { return new WoWPoint(2867.000,-821.000,160.3331); } }
        #endregion

        [EncounterHandler(3975, "Herod")]
        public Composite HerodFight()
        {
            return ScriptHelpers.CreateRunAwayFromBad(ctx =>ctx != null && ((WoWUnit)ctx).HasAura("Whirlwind") && StyxWoW.Me.IsFollower(),6f, 3975);
        }
    }
}
